package com.zxl.grocery.microservice.crawler.service.biz;

import com.zxl.grocery.microservice.common.biz.BaseBiz;
import com.zxl.grocery.microservice.crawler.entity.CrawlerFunny;
import com.zxl.grocery.microservice.crawler.mapper.CrawlerFunnyMapper;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @Author: Lzx
 * @Description:
 * @Date: Created in 16:26 2018/1/11
 * @Modified By:
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class CrawlerFunnyBiz extends BaseBiz<CrawlerFunnyMapper,CrawlerFunny> {
    @Override
    public void insertSelective(CrawlerFunny entity) {
        mapper.insertSelective(entity);
    }
}
